<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <script>
    // console.log(  parseInt('123.123') )  // 123
    // console.log(  parseFloat('123.123') )  // 123.123

    // console.log(  parseInt('123kqwer123') )  // 12

    // console.log( Number('456') )  // 456

    // 隐式类型转换 + - / *  隐晦  尽量不要去依靠隐式类型转换

    // console.log( typeof('123' * 1) )  // number

  </script>
</body>
</html>